<!--
 * @description  : 市管-工作日志列表展示组件
 * @descriptionDetail: 市管-工作日志列表展示组件
 * @copyright    : 浙江烟草
 * @author       : sy
 * @create       : 2022-07-09 15:57:44
-->
<template>
  <view v-on="listeners">
    <u-card
      :title="dayLog.orgName + '(' + dayLog.creatorName + ')'"
      title-color="#333"
      :sub-title="dayLog.logDate"
      sub-title-color="#666"
      :sub-title-size="30"
      :head-style="headStyle"
      margin="20rpx"
      box-shadow="#e5e5e5 0px 0px 50px"
      v-on="listeners"
    >
      <view class="" v-if="dayLog.remarkManu" slot="body">
        {{ dayLog.remarkManu }}
      </view>
    </u-card>
  </view>
</template>
<script>
export default {
  name: "DayLogItem",
  props: {
    dayLog: {
      type: Object,
      default: () => {},
    },
  },
  data() {
    return {
      headStyle: {
        fontWeight: 600,
      },
    }
  },
  computed: {
    listeners() {
      return Object.assign({},
        // 我们从父级添加所有的监听器
        this.$listeners,
      )
    },
  },
  created() {
    
  },
}
</script>
<style lang="scss" scoped>
.part-item-info {
  text-align: center;
  .main-info {
    color: rgb(3, 3, 3);
    margin-bottom: 5px;
  }
}
</style>